<?php

namespace maotool\src\test;

use maotool\orm\PdoTemplateUtil;
use PHPUnit\Framework\TestCase;

class PdoTemplateUtilTest extends TestCase
{

    public function testIndex()
    {
        PdoTemplateUtil::update("update yoshop_page set page_name = ? where page_id = ?", ["商城首页111", 10001]);
        $list = PdoTemplateUtil::queryForList("select * from yoshop_page");
        var_dump($list);
        $this->assertTrue(true);
    }

}